class Picture < Media
  include FileColumnHelper
  include ActionView::Helpers::AssetTagHelper
  
  file_column :file, :magick => { 
      :versions => { "thumb" => "64x64", "medium" => "280x210", "hundred" => "100x76" , "seventyfive"=>"100x75"}
    }


def generate_html_thumb      
    image_tag url_for_file_column(self, "file", "thumb")
end

def generate_html_100 
  image_tag url_for_file_column(self, "file", "hundred")
end

end